#include"stack.h"
#include"quene.h"

int main()
{
	Stack s;
	StackInit(&s);
	for (int i = 0; i < 20; i++)
	{
		StackPush(&s, i);
	}
	for (int i = 0; i < 20; i++)
	{
		int a = StackTop(&s);
		StackPop(&s);
		cout << a << endl;
	}
	return 0;
}